package com.yhhvip.lottery.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.BitSet;


@Data
@ToString
public class UserInfoVo {

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id", example = "1", required = true, position = 1)
    private Long id;

    @ApiModelProperty(value = "用户昵称", example = "test昵称", required = false, position = 2)
    private String nickName;

    @ApiModelProperty(value = "用户头像", example = "www.baidu.com", required = false, position = 3)
    private String headUrl;

    @ApiModelProperty(value = "状态(0:禁用, 1:可用)", example = "1", required = false, position = 4)
    private Byte status;
}